package com.jnhc.eurekaproducer2.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: liuwenhao
 * @Date: 2019/1/16 22:02
 * @Description:
 */
@RestController
public class HelloController {

    @RequestMapping
    public String index(@RequestParam String name){
//        return "hello " + name + " this is first message";
        return "hello "+name+"，this is producer 2  send first messge";
    }
}